
cnt = 0;
function replaceReasonIcon(oImage)
{
	var u ="http://www.flyingocean.cn/";
	var img =[u+"images/reason-icon_01.png",
			u+"images/reason-icon_02.png",
			u+"images/reason-icon_03.png",
			u+"images/reason-icon_04.png",
			u+"images/reason-icon_05.png",
			u+"images/reason-icon_07.png",
			u+"images/reason-icon_08.png",
			u+"images/reason-icon_09.png",
			u+"images/reason-icon_10.png",
			u+"images/reason-icon_11.png"];

	for(var i=0;i<10;i++)
	{
		if (img[i] == oImage.src)
		{
			if(i<5)
			{
				oImage.src = img[i+5];
				cnt++;
				break;
			}
		}
	}

	if (cnt==4) 
	{
		var imgArray = document.getElementsByName('reason-icon');
		for (var j = 0;j<5;j++) 
		{
			if(j==2)
			{
				continue;
			}
			imgArray[j].src = img[j];
		}
		imgArray[2].src=img[7];
		cnt = 0;
	}
}
